import time



def closure(b):
    a = 20
    def sessions():
        print(a+b)
    return sessions()
ase = closure(10)



def datatime(func):
    kai = time.time()
    # time.sleep(1)
    func()
    end = time.time()

    print(int(end-kai))

def strtime():
    print('我执行了')
    time.sleep(1)

timetime = (datatime)